package com.zhangkeyou.map.mapweb.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.BlobTypeHandler;

import java.io.BufferedInputStream;

@TableName(value = "sys_user",autoResultMap = true)
@Data
@NoArgsConstructor
public class Userinfo {
    private String id;
    @TableField("user_name")
    private String username;
    private String password;
/*    private String token;*/

/*    @TableField(value = "header_pic",typeHandler = BlobTypeHandler.class)
    private byte[] header_pic;*/
    private String header_pic;

    public Userinfo(String username, String password) {
        this.username=username;
        this.password=password;
    }
}
